package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @version : Ver 1.0
 * @PanicBuyingGoods
 * @商品抢购和商品查询联表(panic_buying_goods)
 */
public class PanicBuyingGoodsCombineGoods implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * @备注:抢购商品表id
     * @字段:id BIGINT(19)
     */
    private Long id;


    /**
     * @备注:商品id
     * @字段:goods_id BIGINT(19)
     */
    private Long goodsId;

    /**
     * @备注:商品主图地址
     * @字段:goods_url VARCHAR(33)
     */
    private java.lang.String goodsUrl;

    /**
     * @备注:商品名称
     * @字段:goods_name VARCHAR(100)
     */
    private java.lang.String goodsName;

    /**
     * @备注:蜜哆哆价格
     * @字段:m_price DECIMAL(10)
     */
    private java.math.BigDecimal mPrice;

    /**
     * 哆币返现率
     */
    private Double returnRate;

    /**
     * @备注:限时返现率
     * @字段:time_return_rate DECIMAL(10)
     */
    private java.math.BigDecimal timeReturnRate;


    /**
     * @备注:限制数量
     * @字段:num INT(10)
     */
    private Integer num;


    /**
     * @备注:关注数量
     * @字段:attention_num INT(10)
     */
    private Integer attentionNum;


    /**
     * @备注:1正常2已抢完
     * @字段:status INT(10)
     */
    private Integer status;


    /**
     * @备注:抢购日期
     * @字段:pbt_id BIGINT(19)
     */
    private Long pbtId;

    /**
     * 是否主页显示 0 不显示 1显示
     */
    private Integer isHomepage;


    public PanicBuyingGoodsCombineGoods() {
    }

    public PanicBuyingGoodsCombineGoods(
            Long id
    ) {
        this.id = id;
    }


    public Double getReturnRate() {
        return returnRate;
    }

    public void setReturnRate(Double returnRate) {
        this.returnRate = returnRate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsUrl() {
        return goodsUrl;
    }

    public void setGoodsUrl(String goodsUrl) {
        this.goodsUrl = goodsUrl;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public BigDecimal getTimeReturnRate() {
        return timeReturnRate;
    }

    public void setTimeReturnRate(BigDecimal timeReturnRate) {
        this.timeReturnRate = timeReturnRate;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getAttentionNum() {
        return attentionNum;
    }

    public void setAttentionNum(Integer attentionNum) {
        this.attentionNum = attentionNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getPbtId() {
        return pbtId;
    }

    public void setPbtId(Long pbtId) {
        this.pbtId = pbtId;
    }

    public BigDecimal getmPrice() {
        return mPrice;
    }

    public void setmPrice(BigDecimal mPrice) {
        this.mPrice = mPrice;
    }

    public Integer getIsHomepage() {
        return isHomepage;
    }

    public void setIsHomepage(Integer isHomepage) {
        this.isHomepage = isHomepage;
    }
}
